package com.itheima.reggie.dto;

import com.itheima.reggie.pojo.OrderDetail;
import com.itheima.reggie.pojo.Orders;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 订单
 */
@Data
public class OrdersDto extends Orders {

    private List<OrderDetail> orderDetails = new ArrayList<>();//详情订单集合

    private String userName; //订单用户名

}
